Optimal. Leaf size=25 \[ \log \left (\sin (x)+\sqrt{\sin (2 x)}+\cos (x)\right )-\sin ^{-1}(\cos (x)-\sin (x)) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0303279, antiderivative size = 25, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182, Rules used = {4308, 4305} \[ \log \left (\sin (x)+\sqrt{\sin (2 x)}+\cos (x)\right )-\sin ^{-1}(\cos (x)-\sin (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4308
Rule 4305
Rubi steps
\begin{align*} \int \csc (x) \sqrt{\sin (2 x)} \, dx &=2 \int \frac{\cos (x)}{\sqrt{\sin (2 x)}} \, dx\\ &=-\sin ^{-1}(\cos (x)-\sin (x))+\log \left (\cos (x)+\sin (x)+\sqrt{\sin (2 x)}\right )\\ \end{align*}
Mathematica [A] time = 0.0164929, size = 25, normalized size = 1. \[ \log \left (\sin (x)+\sqrt{\sin (2 x)}+\cos (x)\right )-\sin ^{-1}(\cos (x)-\sin (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.046, size = 99, normalized size = 4. \begin{align*} 2\,{\frac{ \left ( \left ( \tan \left ( x/2 \right ) \right ) ^{2}-1 \right ) \sqrt{\tan \left ( x/2 \right ) +1}\sqrt{-2\,\tan \left ( x/2 \right ) +2}\sqrt{-\tan \left ( x/2 \right ) }{\it EllipticF} \left ( \sqrt{\tan \left ( x/2 \right ) +1},1/2\,\sqrt{2} \right ) }{\sqrt{\tan \left ( x/2 \right ) \left ( \left ( \tan \left ( x/2 \right ) \right ) ^{2}-1 \right ) }\sqrt{ \left ( \tan \left ( x/2 \right ) \right ) ^{3}-\tan \left ( x/2 \right ) }}\sqrt{-{\frac{\tan \left ( x/2 \right ) }{ \left ( \tan \left ( x/2 \right ) \right ) ^{2}-1}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \csc \left (x\right ) \sqrt{\sin \left (2 \, x\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 0.508127, size = 455, normalized size = 18.2 \begin{align*} \frac{1}{2} \, \arctan \left (-\frac{\sqrt{2} \sqrt{\cos \left (x\right ) \sin \left (x\right )}{\left (\cos \left (x\right ) - \sin \left (x\right )\right )} + \cos \left (x\right ) \sin \left (x\right )}{\cos \left (x\right )^{2} + 2 \, \cos \left (x\right ) \sin \left (x\right ) - 1}\right ) - \frac{1}{2} \, \arctan \left (-\frac{2 \, \sqrt{2} \sqrt{\cos \left (x\right ) \sin \left (x\right )} - \cos \left (x\right ) - \sin \left (x\right )}{\cos \left (x\right ) - \sin \left (x\right )}\right ) - \frac{1}{4} \, \log \left (-32 \, \cos \left (x\right )^{4} + 4 \, \sqrt{2}{\left (4 \, \cos \left (x\right )^{3} -{\left (4 \, \cos \left (x\right )^{2} + 1\right )} \sin \left (x\right ) - 5 \, \cos \left (x\right )\right )} \sqrt{\cos \left (x\right ) \sin \left (x\right )} + 32 \, \cos \left (x\right )^{2} + 16 \, \cos \left (x\right ) \sin \left (x\right ) + 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \csc \left (x\right ) \sqrt{\sin \left (2 \, x\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]